﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
<link rel="stylesheet" type="text/css" href="/UIFramkwork/jquery_easyui_1_3_2/themes/default/easyui.css">   
<link rel="stylesheet" type="text/css" href="/UIFramkwork/jquery_easyui_1_3_2/themes/icon.css">   
<script type="text/javascript" src="/UIFramkwork/jquery_easyui_1_3_2/jquery-1.8.0.min.js"></script>   
<script type="text/javascript" src="/UIFramkwork/jquery_easyui_1_3_2/jquery.easyui.min.js"></script> 
</head>
<body>
<select id="cc" class="easyui-combotree" style="width:200px;"   
        data-options="data: [{
	id: 1,
	text: 'Languages',
	children: [{
		id: 11,
		text: 'Java'
	},{
		id: 12,
		text: 'C++'
	}]
}]"></select>  



<select id="Select1"   style="width:200px;"   ></select>  

<select id="Select2"   class="easyui-combotree"   style="width:200px;" data-options="url:'../JSON/GridData.aspx?r=GetTreeData2',required:true"  ></select> 


 <input id="Text1" value="01"> 


<br />
 

 


<br />
<a href="#" onclick="test();" >测试</a>


<a href="#" onclick="test2();" >测试2</a>
 
<script type="text/javascript">

//    $('#cc').combotree('loadData', [{
//        id: 1,
//        text: 'Languages',
//        children: [{
//            id: 11,
//            text: 'Java'
//        }, {
//            id: 12,
//            text: 'C++'
//        }]
//    }]);



    $('#Select1').combotree(
    { data:
     [{
        id: 1,
        text: 'v\u5973\u88C5\u7537\u88C5',
        children: [{
            id: 11,
            text: '中国Java'
        }, {
            id: 12,
            text: 'C++'
        }]
    }]
    }
    );

$('#Text1').combotree({
    url: '../JSON/GridData.aspx?r=GetTreeData2',
    required: true
});  


</script>
 
<script type="text/javascript">
    function test() {



    }
    function test2() {


    }





</script>



</body>
</html>
